#pragma once
#include "Effect.h"
#include "SpotLight.h"

class ShadowEffect : public Effect
{
public:
	ShadowEffect(const LPDIRECT3DDEVICE9 device, EffectManager *effMgr, TextureManager *texMgr);
	~ShadowEffect(void);

	void runEffect();

	void renderDepthBuffer(Camera *camera, SpotLight *light, vector<ModelMesh *> meshes, LPDIRECT3DSURFACE9 prevSurf);
};
